#ifndef __E_MODBUS_CRC_H
#define __E_MODBUS_CRC_H

#include <stdio.h>

typedef unsigned char uint8_t;
typedef char    int8_t;
typedef unsigned short uint16_t;
typedef short   int16_t;
typedef unsigned int uint32_t;
typedef long    int32_t;

#ifndef TRUE
    #define TRUE            1
#endif

#ifndef FALSE
    #define FALSE           0
#endif


uint16_t usMBCRC16(uint8_t *pucFrame, uint16_t usLen);




#endif